package com.hg.design.behavior.strategy.biancheng.ex2;

import javax.swing.*;

//具体策略类：清蒸大闸蟹
public class SteamedCrabs extends JLabel implements CrabCooking {
    private static final long serialVersionUID = 1L;
    public void CookingMethod() {
        this.setIcon(new ImageIcon(SteamedCrabs.class.getResource("/SteamedCrabs.jpg")));
        this.setHorizontalAlignment(CENTER);
    }
}
